From 534266f90a5ca846767dc2a990c77f1112a33d9c Mon Sep 17 00:00:00 2001 From: dujinkim Date: Mon, 15 Sep 2025 10:36:26 +0000 Subject: (임수민) serp 구현 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/[lng]/serp/page.tsx | 69 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 app/[lng]/serp/page.tsx (limited to 'app/[lng]/serp/page.tsx') diff --git a/app/[lng]/serp/page.tsx b/app/[lng]/serp/page.tsx new file mode 100644 index 00000000..0c9e0d3f --- /dev/null +++ b/app/[lng]/serp/page.tsx @@ -0,0 +1,69 @@ +import * as React from 'react' +import { ImportButton } from '@/components/s-erp-import/import-card' +import { getSapTableCounts } from '@/lib/s-erp-import/actions' + +export const dynamic = 'force-dynamic' + +const TABLES = [ + 'TB_SAP_EquipInfo', + 'TB_SAP_Order', + 'TB_SAP_OrderConfirm', + 'TB_SAP_OrderNotice', + 'TB_SAP_OrderBreakdown', + 'TB_SAP_MainternanceBOM', + 'TB_SAP_MaterialRepair', + 'TB_SAP_MaterialInfo', + 'TB_SAP_MaterialStock', + 'TB_SAP_MaterialRelease', + 'TB_SAP_MaterialReceiving', + 'TB_SAP_MaterialPurchase', +] + +export default async function Page() { + const counts = await getSapTableCounts(TABLES) + + return ( +
+

S-ERP 데이터 임포트

+

버튼을 클릭하여 엑셀 파일을 업로드 해주세요.

+ + {/* RPA 가이드 정보 */} +
+

RPA 사용 가이드

+
+
+ 셀렉터: [data-testid="upload-button-TABLE_NAME"] +
+
+ 파일 입력: [data-testid="file-input-TABLE_NAME"] +
+
+ 상태 확인: [data-testid="status-message-TABLE_NAME"] +
+
+ 테이블 목록: [data-testid="table-list"] +
+
+
+ +
+ {TABLES.map((name, index) => ( +
+ +
+ ))} +
+
+ ) +} + + -- cgit v1.2.3